package com.sf.fy.uav.common.request.order;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;


/**
 * @author LTQ
 */

@Data
@Validated
public class PreCarrierWaybillRequest {


    @ApiModelProperty("寄快递方经度")
    @NotBlank(message = "寄快递方经度不能为空")
    private String senderLon;

    @ApiModelProperty("寄快递方纬度")
    @NotBlank(message = "寄快递方纬度不能为空")
    private String senderLat;

//    @ApiModelProperty("传给平台组检验是否能寄送")
//    @NotNull(message = "货物类型不能为空")
//    private Integer goodsType;

    @ApiModelProperty("小程序决定传值策略，单位为g")
    @NotNull(message = "货物重量不能为空")
    private double goodsWeight;

    @ApiModelProperty("收快递方经度")
    @NotBlank(message = "收快递方经度不能为空")
    private String receiverLon;

    @ApiModelProperty("收快递方纬度")
    @NotBlank(message = "收快递方纬度不能为空")
    private String receiverLat;

    @ApiModelProperty("优惠券领取记录id")
    private String userCouponId;

    @ApiModelProperty("费用明细id")
    private String expenseDetailsId;

    @NotBlank(message = "寄快递方经纬度uuid")
    @ApiModelProperty("寄快递方经纬度uuid")
    private String senderLonUuid;

    @ApiModelProperty("收快递方经纬度uuid")
    @NotBlank(message = "收快递方经纬度uuid")
    private String receiverLonUuid;

    @ApiModelProperty("平台：1（丰翼配送）,4月结平台")
    private Integer platformCode;


    @ApiModelProperty("是否计算价格")
    private Boolean isCalculatePrice;

    @ApiModelProperty("寄送者城市，格式省-市")
    @NotBlank(message = "寄送者城市不能为空")
    private String senderCity;

    @ApiModelProperty("收件人城市，格式省-市")
    @NotBlank(message = "收件人城市不能为空")
    private String receiverCity;

    @ApiModelProperty("产品类型")
    private Byte outerProductType;


}
